﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lilium.LParse.CSharp
{
    public struct ExponentPart
    {
        public ExponentPart(Sign sign, ICollection<int> digits)
        {
            if (digits == null) throw new ArgumentNullException("digits");

            m_Digits = digits;
            m_Sign = sign;
        }

        #region public ICollection<int> Digits

        private ICollection<int> m_Digits;

        public ICollection<int> Digits { get { return m_Digits; } set { m_Digits = value; } }

        #endregion

        #region public Sign Sign

        private readonly Sign m_Sign;

        public Sign Sign { get { return m_Sign; } }

        #endregion

    }
}
